<extend file="resource/view/home">
	<block name="content">
		<div id="List-main">

			<div class="main_content">
				<ul>
					<!--循环商品-->
					<if value="$sousuoData">
						<foreach from="$sousuoData" key="$k" value="$v">
							<li>
								<a href="{{u('show.index',[gid=>$v['gid']])}}"><img src="{{$v['pic']}}"/></a>
								<div class="main_content-text">
									<p>
										<a href="{{u('show.index',[gid=>$v['gid']])}}">
											{{$v['gname']}}
											<span>{{$v['describe']}}</span>
										</a>
									</p>
									<p >

										<span class="money">￥{{$v['shopprice']}}</span>
									</p>
								</div>
								<div class="main_content_bottom">
									<a href="{{u('show.index',[gid=>$v['gid']])}}">选购</a>
									<span>已有{{$v['click']}}人查看了</span>

								</div>
							</li>
						</foreach>
						<else>
							<b style=" display:block; width: 1220px;height:50px ; color: red;font-size: 20px;text-align: center;" >没商品</b>
					</if>
				</ul>

			</div>
		</div>
	</block>